package com.bailin233.entity;

public class Students {
    private long id;
    private long studentsNo;
    private String name;
    private String sex;
    private int age;
    private String studentClass;


    public Students(long studentsNo, String name, String sex, int age, String studentClass) {
        this.studentsNo = studentsNo;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.studentClass = studentClass;
    }

    public Students(long id, long studentsNo, String name, String sex, int age, String studentClass) {
        this.id = id;
        this.studentsNo = studentsNo;
        this.name = name;
        this.sex = sex;
        this.age = age;
        this.studentClass = studentClass;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getStudentsNo() {
        return studentsNo;
    }

    public void setStudentsNo(long studentsNo) {
        this.studentsNo = studentsNo;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getStudentClass() {
        return studentClass;
    }

    public void setStudentClass(String studentClass) {
        this.studentClass = studentClass;
    }

    @Override
    public String toString() {
        return "Students{" +
                "id=" + id +
                ", studentsNo=" + studentsNo +
                ", sex='" + sex + '\'' +
                ", age=" + age +
                ", studentClass='" + studentClass + '\'' +
                '}';
    }
}
